﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EmailService
{
    public class SenderInfo
    {
        public string Name { get; set; }
        public string PassWord { get; set; }

        public bool CheckDataVaild()
        {
            bool checkFlag = true;
            if (string.IsNullOrEmpty(this.Name) || string.IsNullOrEmpty(this.PassWord))
            {
                checkFlag = false;
            }
            return checkFlag;
        }
    }
}
